package com.yzd.learnjava.generics.coffe;

public class Coffe {
	private static long counter ; 
	private final long id = counter++;
	public String toString() {
		return getClass().getSimpleName() + " " + id;
	}
}
